<%@ taglib prefix="s" uri="http://www.springframework.org/tags/form" %>
<%--
  User: Yangxp
  Date: 2016/5/19
  Time: 9:31
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="../../common/taglibs.jsp" %>
<html>
<head>
    <title>Title</title>
    <script src="${ctx}/js/views/reserve/report/reserveReportBaseData.js"></script>
</head>
<body ng-app="myApp" style="overflow:scroll;overflow-x:hidden">

<core:import url="../../common/pageHead.jsp">
    <core:param name="title" value="查询备付金报表余额信息"/>
</core:import>

<div ng-controller="queryCtrl" class="container-fluid">
    <form id="queryForm" name="queryForm" action="${ctx}/reserve/report/base/data/search" class="form-inline"
          autocomplete="off">
        <table table-detail>
            <tr>
                <td class="text-right">
                    报表日期：
                </td>
                <td>
                    <input type="text" ng-model="vm.queryBean.businessDate" uib-datepicker-popup="yyyy-MM-dd" required
                           class="{{vm.constant.inputClass}}"/>
                </td>
            </tr>
            <tr>
                <td colspan="8" class="textCenter">
                    <button type="button" ng-click="vm.queryDetail()" class="btn btn-default">查询</button>
                </td>
            </tr>
        </table>
    </form>

    <div style="overflow:auto">
        <div style="width: 2300px;text-align: center;">
            <st-table-data st-data="vm.pagination.list" st-caches="vm.cached">

                <st-table-head>
                    <table align="center" valign=middle>
                        <thead>
                        <tr>
                            <td>日期</td>
                            <td>期初业务余额</td>
                            <td>期末业务余额</td>
                            <td>账号</td>
                            <td>期初银行余额</td>
                            <td>期末银行余额</td>
                            <td>当天业务入金</td>
                            <td>当天银行入金</td>
                            <td>当天结算业务入金</td>
                            <td>本期业务本期入金</td>
                            <td>已收到业务系统未反应</td>
                            <td>已收到业务系统未反应补入账</td>
                            <td>已收到业务系统未反应退回</td>
                            <td>当天业务出金</td>
                            <td>当天银行出金</td>
                            <td>当天业务结算出金</td>
                            <td>本期业务出金本期结算出金</td>
                            <td>自有资金余额</td>
                            <td>利息余额</td>
                            <td>管理费和手续费余额</td>
                            <td>本期头寸调拨调出金额</td>
                            <td>本期头寸调拨调入金额</td>
                            <td>本期自有资金存放入备付金</td>
                            <td>本期提出原存放自有资金</td>
                            <td>本期收到银行利息</td>
                            <td>利息从收付户到存管户-收</td>
                            <td>利息从收付户到存管户-付</td>
                            <td>利息结转-从存管户到一般户</td>
                            <td>本期手续费和管理费支出</td>
                            <td>结转手续费</td>
                            <td>结转风险准备金-从存管户到风险准备金专户</td>
                            <td>支付机构业务系统已增加客户资金账户余额，备付金银行未增加备付金银行账户余额</td>
                            <td>支付机构业务系统已减少客户资金账户余额，备付金银行未减少备付金银行账户余额</td>
                            <td>备付金银行已增加备付金银行账户余额，支付机构业务系统未增加客户资金账户余额</td>
                            <%--<td>备付金银行已减少备付金银行账户余额，支付机构业务系统未减少客户资金账户余额</td>--%>
                        </tr>
                        </thead>
                    </table>
                </st-table-head>

                <st-table-column st-head="日期" st-field="businessDate" st-field-type="date"/>
                <st-table-column st-head="期初业务余额" st-field="allBeginBusinessBalance" st-field-type="currency" />
                <st-table-column st-head="期末业务余额" st-field="allEndingBusinessBalance" st-field-type="currency" />
                <st-table-column st-head="账号" st-field="accountNo"/>
                <st-table-column st-head="期初银行余额" st-field="beginBalance" st-field-type="currency"  ng-no-merge="true" />
                <st-table-column st-head="期末银行余额" st-field="endingBalance" st-field-type="currency"  ng-no-merge="true" />
                <st-table-column st-head="当天业务入金" st-field="busiReceivable" st-field-type="currency" />
                <st-table-column st-head="当天银行入金" st-field="bankReceivable" st-field-type="currency" />
                <st-table-column st-head="当天结算业务入金" st-field="receivableSettle" st-field-type="currency" />
                <st-table-column st-head="本期业务本期入金" st-field="receivableSettleToday" st-field-type="currency" />
                <st-table-column st-head="已收到业务系统未反应" st-field="receivableNotBusi" st-field-type="currency" />
                <st-table-column st-head="已收到业务系统未反应补入账" st-field="receivableNotBusiRec" st-field-type="currency" />
                <st-table-column st-head="已收到业务系统未反应退回" st-field="receivableNotBusiRefund" st-field-type="currency" />
                <st-table-column st-head="当天业务出金" st-field="busiPayable" st-field-type="currency" />
                <st-table-column st-head="当天银行出金" st-field="bankPayable" st-field-type="currency" />
                <st-table-column st-head="当天业务结算出金" st-field="payableSettle" st-field-type="currency" />
                <st-table-column st-head="本期业务出金本期结算出金" st-field="payableSettleToday" st-field-type="currency" />
                <st-table-column st-head="自有资金余额" st-field="privateBalance" st-field-type="currency" />
                <st-table-column st-head="利息余额" st-field="interestBalance" st-field-type="currency" />
                <st-table-column st-head="管理费和手续费余额" st-field="manageFeeBalance" st-field-type="currency" />
                <st-table-column st-head="本期头寸调拨调出金额" st-field="positionAllocationPay" st-field-type="currency" />
                <st-table-column st-head="本期头寸调拨调入金额" st-field="positionAllocationPec" st-field-type="currency" />
                <st-table-column st-head="本期自有资金存放入备付金" st-field="privateRec" st-field-type="currency" />
                <st-table-column st-head="本期提出原存放自有资金" st-field="privatePay" st-field-type="currency" />
                <st-table-column st-head="本期收到银行利息" st-field="interestRec" st-field-type="currency" />
                <st-table-column st-head="利息从收付户到存管户-收" st-field="positionAllocationInterestRec" st-field-type="currency" />
                <st-table-column st-head="利息从收付户到存管户-付" st-field="positionAllocationInterestPay" st-field-type="currency" />
                <st-table-column st-head="利息结转-从存管户到一般户" st-field="interestCarry" st-field-type="currency" />
                <st-table-column st-head="本期手续费和管理费支出" st-field="currentManageFee" st-field-type="currency" />
                <st-table-column st-head="结转手续费" st-field="curryFeeCarry" st-field-type="currency" />
                <st-table-column st-head="结转风险准备金-从存管户到风险准备金专户" st-field="riskFeeCarry" st-field-type="currency" />
                <st-table-column st-head="支付机构业务系统已增加客户资金账户余额，备付金银行未增加备付金银行账户余额" st-field="busiAddBankNoAdd" st-field-type="currency" />
                <st-table-column st-head="支付机构业务系统已减少客户资金账户余额，备付金银行未减少备付金银行账户余额" st-field="busiSubBankNoSub" st-field-type="currency" />
                <st-table-column st-head="备付金银行已增加备付金银行账户余额，支付机构业务系统未增加客户资金账户余额" st-field="bankAddBusiNoAdd" st-field-type="currency" />
                <%--<st-table-column st-head="备付金银行已减少备付金银行账户余额，支付机构业务系统未减少客户资金账户余额" st-field="bankSubBusiNoSub" st-field-type="currency" />--%>
            </st-table-data>
        </div>
    </div>

    <core:import url="../../common/pageFoot.jsp"/>
</div>
<core:import url="../../common/nav.jsp"/>
</body>
</html>
